#!/usr/bin/env python
# encoding: utf-8
# @author: Lin Han
# @contact: voldemort22@126.com
# @file: 20210621.py
# @time: 2021/6/21 10:12
# @desc:
import json
import requests

URL = '52.83.236.157'
PORT = 8000
API = '/api/assemble_parts/v1/assemble_parts'

address = "DO-Drawing_Dev/ZIP/2021-06-18-14-49-00/D2XX-OP10-00-00.zip"

data = requests.get(f"http://{URL}:{PORT}{API}?address={address}")

data_dict = json.loads(data.content)